<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    let person={
        name: "zhangsan",
        age : 18,
        count : [1,2,3,4],

        eat : function () {
            alert("吃饭")
        },
        speak : function () {
            alert("i 'm "+this.name)
        }
    };
        person.name="lisi";
        person.speak();
        document.write(person.speak()+","+person.age+","+person.count+","+person.eat())

</script>
<body>

</body>
</html>